Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various code cleanup #1195

Conversation

vojtechtrefny
Copy link
Member

Removed last remnants of Python 2 support and some code cleanup mostly in tests.

@vojtechtrefny
Copy link
Member Author

The Anaconda test suite is failing because the use stringize and unicodeize, see rhinstaller/anaconda#5440

@vojtechtrefny vojtechtrefny changed the base branch from 3.9-devel to 3.10-devel February 1, 2024 16:23
We stopped caring about Python 2 support long time ago and with
libblockdev 3.0 which is Python 3 only it wouldn't even be
possible to support Python 2 so we should finally remove it.
These are needed only for the Pytho 2/3 compatibility and we no
longer support Python 2. unicodeize can be removed without
replacement and the default str constructor can replace stringize.
We no longer support older versions of Python so we can import
everything only from the unittest module.
@vojtechtrefny vojtechtrefny force-pushed the 3.10-devel_python2-support-remove branch from 736f6df to a45bc29 Compare February 1, 2024 16:32
@vojtechtrefny vojtechtrefny force-pushed the 3.10-devel_python2-support-remove branch from a45bc29 to d212b7b Compare February 7, 2024 12:30
@vojtechtrefny vojtechtrefny merged commit f7db1ea into storaged-project:3.10-devel Feb 8, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant